// 基于template/src/widgets/{{appEntities}}/{{ctrls@FORM}}-form/{{spinalCase ctrl.codeName}}-form-model.ts.hbs生成
import { IEditFormModel, IFormStore, IParam } from '@/core';
function getModel(): IEditFormModel {
    return {
        name: "form",
        caption: "",
        codeName: "Usr0111762182",
        enableAutoSave: false,
        entityCodeName: "IBIZSample0001",
        keyPSAppDEField: "IBIZSample0001Id",
        majorPSAppDEField: "IBIZSample0001Name",
        cssName: "",
        controlType: "FORM",
        formStyle: "",
        valueRule: getValueRule(),
        createDefaultItems: getCreateDefaultItems(),
        updateDefaultItems: getUpdateDefaultItems(),
        detailModel: getDetailModel(),
        ctrlMsgModel:[
    ],
        uiEngineModel: [
            {
                name: 'engine_form',
                triggerType: 'CTRLEVENT',
                logicType: 'APPVIEWENGINE',
                eventNames: 'LOAD;SAVE;REMOVE',
                scriptCode: ``,
                entityCodeName: '',
                logicName:``
            }
    ]
    }
}
function getValueRule() {
    return [
    ]
}

function getCreateDefaultItems() {
    return [
    ]
}

function getUpdateDefaultItems() {
    return [
    ]
}
function getDetailModel() {
    return {
        formpage1: {
            caption: "基础组件",
            captionItemName: "",
            name: "formpage1",
            codeName: "formpage1",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMPAGE",
            showCaption: false,
            enableAnchor: false,
            showMoreMode: 0,
        },
        group1: {
            caption: "示例实体01基本信息",
            captionItemName: "",
            name: "group1",
            codeName: "group1",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "GROUPPANEL",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            showMoreItems: [
            ],
        },
        rawitem1: {
            caption: "",
            captionItemName: "",
            name: "rawitem1",
            codeName: "rawitem1",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "RAWITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
        },
        rawitem2: {
            caption: "",
            captionItemName: "",
            name: "rawitem2",
            codeName: "rawitem2",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "RAWITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
        },
        rawitem3: {
            caption: "",
            captionItemName: "",
            name: "rawitem3",
            codeName: "rawitem3",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "RAWITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
        },
        rawitem5: {
            caption: "",
            captionItemName: "",
            name: "rawitem5",
            codeName: "rawitem5",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "RAWITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
        },
        rawitem6: {
            caption: "",
            captionItemName: "",
            name: "rawitem6",
            codeName: "rawitem6",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "RAWITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
        },
        rawitem4: {
            caption: "",
            captionItemName: "",
            name: "rawitem4",
            codeName: "rawitem4",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "RAWITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
        },
        grouppanel1: {
            caption: "分组",
            captionItemName: "",
            name: "grouppanel1",
            codeName: "grouppanel1",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "GROUPPANEL",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            showMoreItems: [
            ],
            uIActionGroup: {
                extractMode: "",
                caption: "表单分组界面行为组",
                details: [
                ],
            },
        },
        formitem: {
            caption: "",
            captionItemName: "",
            name: "formitem",
            codeName: "formitem",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'SPAN',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem3: {
            caption: "单行文本",
            captionItemName: "",
            name: "formitem3",
            codeName: "formitem3",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'TEXTBOX',
                maxLength: 15,
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem4: {
            caption: "多行文本",
            captionItemName: "",
            name: "formitem4",
            codeName: "formitem4",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'TEXTAREA',
                maxLength: 20,
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem5: {
            caption: "超链接",
            captionItemName: "",
            name: "formitem5",
            codeName: "formitem5",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'ARRAY',
                maxLength: 8,
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem8: {
            caption: "数组",
            captionItemName: "",
            name: "formitem8",
            codeName: "formitem8",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: true,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'ARRAY',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem9: {
            caption: "图片",
            captionItemName: "",
            name: "formitem9",
            codeName: "formitem9",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'ARRAY',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem16: {
            caption: "地图选择",
            captionItemName: "",
            name: "formitem16",
            codeName: "formitem16",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'PICKER',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        field14: {
            caption: "单选框",
            captionItemName: "",
            name: "field14",
            codeName: "field14",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            valueFormat: "",
            fieldCodeName: "Field14",
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'RADIOBUTTONLIST',
            },
            codeListTag: "common__SCODELIST_TEXT",
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        field16: {
            caption: "多选框",
            captionItemName: "",
            name: "field16",
            codeName: "field16",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            valueFormat: "",
            fieldCodeName: "Field16",
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'CHECKBOXLIST',
            },
            codeListTag: "common__SCODELIST_TEXT",
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem10: {
            caption: "下拉",
            captionItemName: "",
            name: "formitem10",
            codeName: "formitem10",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'DROPDOWNLIST',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem17: {
            caption: "下拉列表框（多选）",
            captionItemName: "",
            name: "formitem17",
            codeName: "formitem17",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'MDROPDOWNLIST',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        grouppanel2: {
            caption: "值项",
            captionItemName: "",
            name: "grouppanel2",
            codeName: "grouppanel2",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "GROUPPANEL",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            showMoreItems: [
            ],
        },
        formitem19: {
            caption: "时间范围选择器",
            captionItemName: "",
            name: "formitem19",
            codeName: "formitem19",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'DATERANGE',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
            valueItemName: "formitem24",
        },
        formitem24: {
            caption: "开始时间",
            captionItemName: "",
            name: "formitem24",
            codeName: "formitem24",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            layout:{parentLayout: 'TABLE_24COL',colLG: 12,colMD: 12,},
        },
        formitem25: {
            caption: "结束时间",
            captionItemName: "",
            name: "formitem25",
            codeName: "formitem25",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            layout:{parentLayout: 'TABLE_24COL',colLG: 12,colMD: 12,},
        },
        formitem26: {
            caption: "数值范围编辑框",
            captionItemName: "",
            name: "formitem26",
            codeName: "formitem26",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'NUMBERRANGE',
                precision: 2,
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
            valueItemName: "formitem27",
        },
        formitem27: {
            caption: "开始值",
            captionItemName: "",
            name: "formitem27",
            codeName: "formitem27",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            layout:{parentLayout: 'TABLE_24COL',colLG: 12,colMD: 12,},
        },
        formitem28: {
            caption: "结束值",
            captionItemName: "",
            name: "formitem28",
            codeName: "formitem28",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            layout:{parentLayout: 'TABLE_24COL',colLG: 12,colMD: 12,},
        },
        formitem29: {
            caption: "地图选择器",
            captionItemName: "",
            name: "formitem29",
            codeName: "formitem29",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
            valueItemName: "formitem31",
        },
        formitem31: {
            caption: "地图经度",
            captionItemName: "",
            name: "formitem31",
            codeName: "formitem31",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            layout:{parentLayout: 'TABLE_24COL',colLG: 12,colMD: 12,},
        },
        formitem30: {
            caption: "地图纬度",
            captionItemName: "",
            name: "formitem30",
            codeName: "formitem30",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            layout:{parentLayout: 'TABLE_24COL',colLG: 12,colMD: 12,},
        },
        formitem6: {
            caption: "级联选择",
            captionItemName: "",
            name: "formitem6",
            codeName: "formitem6",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'DROPDOWNLIST',
            },
            codeListTag: "Sample__AppEditorType",
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem1: {
            caption: "级联选择（多）",
            captionItemName: "",
            name: "formitem1",
            codeName: "formitem1",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'MDROPDOWNLIST',
            },
            codeListTag: "Sample__AppEditorType",
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem11: {
            caption: "树形选择",
            captionItemName: "",
            name: "formitem11",
            codeName: "formitem11",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'DROPDOWNLIST',
            },
            codeListTag: "Sample__AppEditorType",
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem2: {
            caption: "树形选择（多）",
            captionItemName: "",
            name: "formitem2",
            codeName: "formitem2",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'MDROPDOWNLIST',
            },
            codeListTag: "Sample__AppEditorType",
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem12: {
            caption: "时间",
            captionItemName: "",
            name: "formitem12",
            codeName: "formitem12",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'DATEPICKER',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem13: {
            caption: "图标",
            captionItemName: "",
            name: "formitem13",
            codeName: "formitem13",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'TEXTBOX',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem7: {
            caption: "开关",
            captionItemName: "",
            name: "formitem7",
            codeName: "formitem7",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'SWITCH',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem15: {
            caption: "评分器",
            captionItemName: "",
            name: "formitem15",
            codeName: "formitem15",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'RATING',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem18: {
            caption: "滑动-范围",
            captionItemName: "",
            name: "formitem18",
            codeName: "formitem18",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'SLIDER',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        formitem14: {
            caption: "滑动输入条",
            captionItemName: "",
            name: "formitem14",
            codeName: "formitem14",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            editRules: {
                editorType: 'SLIDER',
            },
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        grouppanel3: {
            caption: "级联选择器",
            captionItemName: "",
            name: "grouppanel3",
            codeName: "grouppanel3",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "GROUPPANEL",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            showMoreItems: [
            ],
        },
        field4: {
            caption: "属性4",
            captionItemName: "",
            name: "field4",
            codeName: "field4",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            valueFormat: "",
            fieldCodeName: "FIELD4",
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
            valueItemName: "field6",
        },
        field6: {
            caption: "属性6",
            captionItemName: "",
            name: "field6",
            codeName: "field6",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            valueFormat: "",
            fieldCodeName: "FIELD6",
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
        field9: {
            caption: "属性9",
            captionItemName: "",
            name: "field9",
            codeName: "field9",
            disabled: false, 
            visible: true,
            detailStyle: "DEFAULT",
            detailType: "FORMITEM",
            showCaption: true,
            enableAnchor: false,
            showMoreMode: 0,
            valueFormat: "",
            fieldCodeName: "FIELD9",
            dataType: "25",
            required: false,
            enableCond: 3,
            ignoreInput: 0,
            convertToCodeItemText: false,
            layout:{parentLayout: 'TABLE_24COL',colMD: 24,},
        },
    }
}
export const model = getModel();
